package com.ruoyi.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "token")
public class TokenConfig {
    private String header;
    private String secret;
    private int expireTime;

    // getter/setter
    public String getHeader() { return header; }
    public void setHeader(String header) { this.header = header; }

    public String getSecret() { return secret; }
    public void setSecret(String secret) { this.secret = secret; }

    public int getExpireTime() { return expireTime; }
    public void setExpireTime(int expireTime) { this.expireTime = expireTime; }
}